/PROG  TESTPARTDROP
/ATTR
OWNER		= MNEDITOR;
COMMENT		= "CHECK NO PART";
PROG_SIZE	= 900;
CREATE		= DATE 12-07-21  TIME 15:57:46;
MODIFIED	= DATE 12-07-21  TIME 16:11:52;
FILE_NAME	= CHK_DROP;
VERSION		= 0;
LINE_COUNT	= 41;
MEMORY_SIZE	= 1400;
PROTECT		= READ_WRITE;
TCD:  STACK_SIZE	= 0,
      TASK_PRIORITY	= 50,
      TIME_SLICE	= 0,
      BUSY_LAMP_OFF	= 0,
      ABORT_REQUEST	= 0,
      PAUSE_REQUEST	= 0;
DEFAULT_GROUP	= 1,*,*,*,*;
CONTROL_CODE	= 00000000 00000000;
/APPL
/MN
   1:  IF DI[30]=ON,JMP LBL[200] ;
   2:  $WAITTMOUT=200 ;
   3:  SELECT R[35]=1,JMP LBL[5] ;
   4:         =2,JMP LBL[10] ;
   5:  LBL[5] ;
   6:  SELECT R[31]=0,JMP LBL[200] ;
   7:         =1,JMP LBL[20] ;
   8:         =2,JMP LBL[30] ;
   9:         =3,JMP LBL[40] ;
  10:  LBL[10] ;
  11:  SELECT R[32]=0,JMP LBL[200] ;
  12:         =1,JMP LBL[20] ;
  13:         =2,JMP LBL[30] ;
  14:         =3,JMP LBL[40] ;
  15:  LBL[20] ;
  16:  DO[9]=OFF ;
  17:  DO[10]=PULSE,1.5sec ;
  18:  WAIT DI[9]=OFF TIMEOUT,LBL[110] ;
  19:  JMP LBL[200] ;
  20:  LBL[30] ;
  21:  DO[11]=OFF ;
  22:  DO[12]=PULSE,1.5sec ;
  23:  WAIT DI[11]=OFF TIMEOUT,LBL[110] ;
  24:  JMP LBL[200] ;
  25:  LBL[40] ;
  26:  DO[9]=OFF ;
  27:  DO[11]=OFF ;
  28:  DO[10]=PULSE,1.5sec ;
  29:  DO[12]=PULSE,1.5sec ;
  30:  WAIT DI[9]=OFF AND DI[11]=OFF TIMEOUT,LBL[110] ;
  31:  JMP LBL[200] ;
  32:   ;
  33:   ;
  34:  LBL[110:USER ALARM] ;
  35:  MESSAGE[-----------------------] ;
  36:  MESSAGE[USER ALARM-PART PRESENT] ;
  37:  MESSAGE[-----------------------] ;
  38:  DO[36]=PULSE,1.0sec ;
  39:  UALM[2] ;
  40:   ;
  41:  LBL[200:END] ;
/POS
/END
